﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Mangosoft.DiceCopy.Domain.Seedwork.Specification;
using Mangosoft.DiceCopy.Domain.MainBoundedContext.Aggregates.AdvertisingAgg;

namespace Mangosoft.DiceCopy.Domain.MainBoundedContext.Aggregates.AdvertisingAgg {
    public class AdvertisingSpecifications {    
        public static Specification<Advertising> AdvertingsByBlock(int blockcode) {
            return new DirectSpecification<Advertising>(a => a.BlockCode == blockcode);
        }
    }
}
